using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Web.Core;

namespace Yuanlin.Business
{
    [ParseChildren(true)]
    public class Logout : YuanlinUserControl
    {
        protected override void OnLoad(EventArgs e)
        {
            MemberManager.Logout();
            Context.Response.Redirect(FormsAuthentication.DefaultUrl);
        }
    }
}